package com.renjianbo.project.module.system.model.sys_user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 系统-用户
 * </p>
 *
 * @author 任建波
 * @since 2022-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysUserLoginReq implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "账号")
    @Length(min=0, max=60)
    @NotBlank
    private String account;

    @ApiModelProperty(value = "密码")
    @Length(min=0, max=30)
    @NotBlank
    private String password;

}
